/**
 * 
 */
package com.fangqk.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fangqk.dao.LoginTraceMapper;
import com.fangqk.entity.LoginTrace;
import com.fangqk.service.LoginTraceService;

/**
 * @author G-Train
 *
 */
@Service("loginTraceService")
public class LoginTraceServiceImpl implements LoginTraceService {

	@Resource
	LoginTraceMapper loginTraceMapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return loginTraceMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int deleteByUserId(Integer userId) {
		return loginTraceMapper.deleteByUserId(userId);
	}

	@Override
	public int insert(LoginTrace record) {
		return loginTraceMapper.insert(record);
	}

	@Override
	public int insertSelective(LoginTrace record) {
		return loginTraceMapper.insertSelective(record);
	}

	@Override
	public LoginTrace selectByPrimaryKey(Integer id) {
		return null;
	}

}
